package financial.sharing.center.system.service;

import com.github.pagehelper.PageInfo;
import financial.sharing.center.system.model.entity.CompanyAccount;

import java.util.List;

/**
 * @ClassName CompanyAccountService
 * @Description TODO
 * @Author guoyuhang
 * @ @csdn https://blog.csdn.net/qq_40788718
 * @Date 2021/4/18
 * @Version 1.0
 */
public interface CompanyAccountService {

    PageInfo<CompanyAccount> getAllCompanyAccount(String selectCompanyName);

    Integer createOneCompanyAccount(String companyName, String invoiceTaxNumber, String invoiceAddress, String invoicePhone, String invoiceDepositBank, String invoiceBankAccount);

    Integer compileOneCompanyAccount(CompanyAccount companyAccount);

    Integer deleteOneCompanyAccount(Integer id);

    List<CompanyAccount> getListCompanyAccount();
}
